<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
  <h:head>
    <title>Facelet Title</title>
  </h:head>
  <h:body>
    <ui:composition xmlns="http://www.w3.org/1999/xhtml"
                    xmlns:h="http://java.sun.com/jsf/html"
                    xmlns:f="http://java.sun.com/jsf/core"
                    xmlns:c="http://java.sun.com/jsp/jstl/core"
                    xmlns:ace="http://www.icefaces.org/icefaces/components"
                    xmlns:icecore="http://www.icefaces.org/icefaces/core"
                    xmlns:ui="http://java.sun.com/jsf/facelets"
                    >

      <ace:panel id="leftNavPanel" header="Awesome Dates" >
        <ul>
          <li><a href="profile.xhtml">My profile</a></li>
          <li><a href="updateProfile.xhtml">Update Profile</a></li>
          <li><a href="favorite.xhtml">Favorites</a></li>
          <li><a href="myMessages.xhtml">Messages</a></li>
          <li><a href="gallery.xhtml">Gallery</a></li>

        </ul>
        <h:form>
          <ace:panel rendered="#{userManager.isLogged}" style="padding: 2px" class="panelWink">

            <h:commandButton id="dismissButton" value="Dismiss winks" action="#{pokeManager.dismiss()}">
              <f:ajax render="@form"/>
            </h:commandButton>

            <div id="list">
              <c:forEach   items="#{pokeManager.lstPokes}" var="c" >
                <h:outputText style="font-size: 12px" value="#{c.pokingUser.username} winked at you!" /><br/>
              </c:forEach>
            </div>
          </ace:panel>
        </h:form>
      </ace:panel>

    </ui:composition>
  </h:body>
</html>

